﻿using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;

namespace Sidvall.AuthorizationManager.Data.Entity.Model
{
    public partial class AuthorizationManagerEntities : DbContext
    {
        public AuthorizationManagerEntities() : base("name=Default")
        {
        }
        public AuthorizationManagerEntities(string nameOrConnectionString) : base(nameOrConnectionString)
        {
        }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            throw new UnintentionalCodeFirstException();
        }
        public DbSet<global::Sidvall.AuthorizationManager.Data.Entity.Entities.AuthorizationScope> AuthorizationScope { get; set; }
        public DbSet<global::Sidvall.AuthorizationManager.Data.Entity.Entities.AuthorizationScopeExport> AuthorizationScopeExport { get; set; }
        public DbSet<global::Sidvall.AuthorizationManager.Data.Entity.Entities.AuthorizationScopeResourceAction> AuthorizationScopeResourceAction { get; set; }
        public DbSet<global::Sidvall.AuthorizationManager.Data.Entity.Entities.AuthorizationScopeResourceActionClaim> AuthorizationScopeResourceActionClaim { get; set; }
        public DbSet<global::Sidvall.AuthorizationManager.Data.Entity.Entities.AuthorizationScopeResourceItem> AuthorizationScopeResourceItem { get; set; }
        public DbSet<global::Sidvall.AuthorizationManager.Data.Entity.Entities.AuthorizationScopeResourceItemClaim> AuthorizationScopeResourceItemClaim { get; set; }
        public DbSet<global::Sidvall.AuthorizationManager.Data.Entity.Entities.AuthorizationScopeUser> AuthorizationScopeUser { get; set; }
    }
}